package com.qiaofang.applet.service.member.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;


@Data
@ApiModel("订阅列表详情DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MemberSubscribeDetailDto extends BaseDto {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("城市code")
    private String cityCode;

    @ApiModelProperty("会员ID")
    private String memberId;

    @ApiModelProperty("会员名")
    private String memberName;

    @ApiModelProperty("会员手机号")
    private String memberPhone;

    @ApiModelProperty(value = "楼盘唯一UUID")
    private String estateUniqueUuid;

    @ApiModelProperty("订阅楼盘")
    private String estateName;

    @ApiModelProperty("订阅手机号")
    private String subscribePhone;

    @ApiModelProperty("订阅状态 已订阅/取消订阅")
    private String subscribeStatus;

    @ApiModelProperty("订阅时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date subscribeTime;

    @ApiModelProperty("是否发送短信 0:否1:是")
    private Integer isMessage;

    @ApiModelProperty("城市名称")
    private String cityName;

}
